#ifndef VOLUMETOOL_H
#define VOLUMETOOL_H

#include <QWidget>

namespace Ui {
class VolumeTool;
}

class VolumeTool : public QWidget
{
    Q_OBJECT

public:
    explicit VolumeTool(QWidget *parent = nullptr);
    ~VolumeTool();
    void paintEvent(QPaintEvent *event);
    bool eventFilter(QObject *object, QEvent *event);
    void setVolume();
private slots:
    void on_silenceBt_clicked();
signals:
    void muteChanged(bool);
    void volumeChanged(int volume);
private:
    Ui::VolumeTool *ui;
    bool isMute;
    int _volume;
};

#endif // VOLUMETOOL_H
